package com.jckj.core.entity;

import java.io.Serializable;
import java.util.Date;

public class NotifyFarmView implements Serializable {
    private String id;

    private String type;

    private String code;

    private String title;

    private String content;

    private String status;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date upadteTime;

    private String sendBy;

    private Date sendTime;

    private String parkNo;

    private String parkName;

    private String parkAddress;

    private String logoUrl;

    private String contactPerson;

    private String phone;

    private String mobilePhone;

    private String email;

    private String lat;

    private String lng;

    private String parkCreateBy;

    private Date parkCreateTime;

    private String parkUpdateBy;

    private Date parkUpdateTime;

    private String remark;

    private String adminId;

    private Byte level;

    private String parkStatus;

    private Boolean readFlag;

    private Date readTime;

    private String readBy;

    private String describ;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpadteTime() {
        return upadteTime;
    }

    public void setUpadteTime(Date upadteTime) {
        this.upadteTime = upadteTime;
    }

    public String getSendBy() {
        return sendBy;
    }

    public void setSendBy(String sendBy) {
        this.sendBy = sendBy == null ? null : sendBy.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getParkNo() {
        return parkNo;
    }

    public void setParkNo(String parkNo) {
        this.parkNo = parkNo == null ? null : parkNo.trim();
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName == null ? null : parkName.trim();
    }

    public String getParkAddress() {
        return parkAddress;
    }

    public void setParkAddress(String parkAddress) {
        this.parkAddress = parkAddress == null ? null : parkAddress.trim();
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl == null ? null : logoUrl.trim();
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson == null ? null : contactPerson.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat == null ? null : lat.trim();
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng == null ? null : lng.trim();
    }

    public String getParkCreateBy() {
        return parkCreateBy;
    }

    public void setParkCreateBy(String parkCreateBy) {
        this.parkCreateBy = parkCreateBy == null ? null : parkCreateBy.trim();
    }

    public Date getParkCreateTime() {
        return parkCreateTime;
    }

    public void setParkCreateTime(Date parkCreateTime) {
        this.parkCreateTime = parkCreateTime;
    }

    public String getParkUpdateBy() {
        return parkUpdateBy;
    }

    public void setParkUpdateBy(String parkUpdateBy) {
        this.parkUpdateBy = parkUpdateBy == null ? null : parkUpdateBy.trim();
    }

    public Date getParkUpdateTime() {
        return parkUpdateTime;
    }

    public void setParkUpdateTime(Date parkUpdateTime) {
        this.parkUpdateTime = parkUpdateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId == null ? null : adminId.trim();
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public String getParkStatus() {
        return parkStatus;
    }

    public void setParkStatus(String parkStatus) {
        this.parkStatus = parkStatus == null ? null : parkStatus.trim();
    }

    public Boolean getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Boolean readFlag) {
        this.readFlag = readFlag;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public String getReadBy() {
        return readBy;
    }

    public void setReadBy(String readBy) {
        this.readBy = readBy == null ? null : readBy.trim();
    }

    public String getDescrib() {
        return describ;
    }

    public void setDescrib(String describ) {
        this.describ = describ == null ? null : describ.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        NotifyFarmView other = (NotifyFarmView) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
            && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpadteTime() == null ? other.getUpadteTime() == null : this.getUpadteTime().equals(other.getUpadteTime()))
            && (this.getSendBy() == null ? other.getSendBy() == null : this.getSendBy().equals(other.getSendBy()))
            && (this.getSendTime() == null ? other.getSendTime() == null : this.getSendTime().equals(other.getSendTime()))
            && (this.getParkNo() == null ? other.getParkNo() == null : this.getParkNo().equals(other.getParkNo()))
            && (this.getParkName() == null ? other.getParkName() == null : this.getParkName().equals(other.getParkName()))
            && (this.getParkAddress() == null ? other.getParkAddress() == null : this.getParkAddress().equals(other.getParkAddress()))
            && (this.getLogoUrl() == null ? other.getLogoUrl() == null : this.getLogoUrl().equals(other.getLogoUrl()))
            && (this.getContactPerson() == null ? other.getContactPerson() == null : this.getContactPerson().equals(other.getContactPerson()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getMobilePhone() == null ? other.getMobilePhone() == null : this.getMobilePhone().equals(other.getMobilePhone()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getLat() == null ? other.getLat() == null : this.getLat().equals(other.getLat()))
            && (this.getLng() == null ? other.getLng() == null : this.getLng().equals(other.getLng()))
            && (this.getParkCreateBy() == null ? other.getParkCreateBy() == null : this.getParkCreateBy().equals(other.getParkCreateBy()))
            && (this.getParkCreateTime() == null ? other.getParkCreateTime() == null : this.getParkCreateTime().equals(other.getParkCreateTime()))
            && (this.getParkUpdateBy() == null ? other.getParkUpdateBy() == null : this.getParkUpdateBy().equals(other.getParkUpdateBy()))
            && (this.getParkUpdateTime() == null ? other.getParkUpdateTime() == null : this.getParkUpdateTime().equals(other.getParkUpdateTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getAdminId() == null ? other.getAdminId() == null : this.getAdminId().equals(other.getAdminId()))
            && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
            && (this.getParkStatus() == null ? other.getParkStatus() == null : this.getParkStatus().equals(other.getParkStatus()))
            && (this.getReadFlag() == null ? other.getReadFlag() == null : this.getReadFlag().equals(other.getReadFlag()))
            && (this.getReadTime() == null ? other.getReadTime() == null : this.getReadTime().equals(other.getReadTime()))
            && (this.getReadBy() == null ? other.getReadBy() == null : this.getReadBy().equals(other.getReadBy()))
            && (this.getDescrib() == null ? other.getDescrib() == null : this.getDescrib().equals(other.getDescrib()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
        result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpadteTime() == null) ? 0 : getUpadteTime().hashCode());
        result = prime * result + ((getSendBy() == null) ? 0 : getSendBy().hashCode());
        result = prime * result + ((getSendTime() == null) ? 0 : getSendTime().hashCode());
        result = prime * result + ((getParkNo() == null) ? 0 : getParkNo().hashCode());
        result = prime * result + ((getParkName() == null) ? 0 : getParkName().hashCode());
        result = prime * result + ((getParkAddress() == null) ? 0 : getParkAddress().hashCode());
        result = prime * result + ((getLogoUrl() == null) ? 0 : getLogoUrl().hashCode());
        result = prime * result + ((getContactPerson() == null) ? 0 : getContactPerson().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getMobilePhone() == null) ? 0 : getMobilePhone().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getLat() == null) ? 0 : getLat().hashCode());
        result = prime * result + ((getLng() == null) ? 0 : getLng().hashCode());
        result = prime * result + ((getParkCreateBy() == null) ? 0 : getParkCreateBy().hashCode());
        result = prime * result + ((getParkCreateTime() == null) ? 0 : getParkCreateTime().hashCode());
        result = prime * result + ((getParkUpdateBy() == null) ? 0 : getParkUpdateBy().hashCode());
        result = prime * result + ((getParkUpdateTime() == null) ? 0 : getParkUpdateTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getAdminId() == null) ? 0 : getAdminId().hashCode());
        result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
        result = prime * result + ((getParkStatus() == null) ? 0 : getParkStatus().hashCode());
        result = prime * result + ((getReadFlag() == null) ? 0 : getReadFlag().hashCode());
        result = prime * result + ((getReadTime() == null) ? 0 : getReadTime().hashCode());
        result = prime * result + ((getReadBy() == null) ? 0 : getReadBy().hashCode());
        result = prime * result + ((getDescrib() == null) ? 0 : getDescrib().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", code=").append(code);
        sb.append(", title=").append(title);
        sb.append(", content=").append(content);
        sb.append(", status=").append(status);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", upadteTime=").append(upadteTime);
        sb.append(", sendBy=").append(sendBy);
        sb.append(", sendTime=").append(sendTime);
        sb.append(", parkNo=").append(parkNo);
        sb.append(", parkName=").append(parkName);
        sb.append(", parkAddress=").append(parkAddress);
        sb.append(", logoUrl=").append(logoUrl);
        sb.append(", contactPerson=").append(contactPerson);
        sb.append(", phone=").append(phone);
        sb.append(", mobilePhone=").append(mobilePhone);
        sb.append(", email=").append(email);
        sb.append(", lat=").append(lat);
        sb.append(", lng=").append(lng);
        sb.append(", parkCreateBy=").append(parkCreateBy);
        sb.append(", parkCreateTime=").append(parkCreateTime);
        sb.append(", parkUpdateBy=").append(parkUpdateBy);
        sb.append(", parkUpdateTime=").append(parkUpdateTime);
        sb.append(", remark=").append(remark);
        sb.append(", adminId=").append(adminId);
        sb.append(", level=").append(level);
        sb.append(", parkStatus=").append(parkStatus);
        sb.append(", readFlag=").append(readFlag);
        sb.append(", readTime=").append(readTime);
        sb.append(", readBy=").append(readBy);
        sb.append(", describ=").append(describ);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}